package com.spx.kernel;

import org.eclipse.ui.application.IWorkbenchWindowConfigurer;
import org.eclipse.ui.application.WorkbenchAdvisor;
import org.eclipse.ui.application.WorkbenchWindowAdvisor;

public class ApplicationWorkbenchAdvisor extends WorkbenchAdvisor {

	private static final String PERSPECTIVE_ID = "com.spx.kernel.perspective";
	private ApplicationActionBarAdvisor applicationActionBarAdvisor;

    public WorkbenchWindowAdvisor createWorkbenchWindowAdvisor(IWorkbenchWindowConfigurer configurer) {
    	
    	
        ApplicationWorkbenchWindowAdvisor applicationWorkbenchWindowAdvisor = new ApplicationWorkbenchWindowAdvisor(configurer);
		return applicationWorkbenchWindowAdvisor;
    }

	public String getInitialWindowPerspectiveId() {
		return PERSPECTIVE_ID;
	}


	
	public ApplicationActionBarAdvisor getAapplicationActionBarAdvisor( )
	{
		return applicationActionBarAdvisor;
	}

	public void setApplicationActionBarAdvisor(ApplicationActionBarAdvisor applicationActionBarAdvisor)
	{
		this.applicationActionBarAdvisor = applicationActionBarAdvisor;
	}

}
